﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TimKenSite.Master" AutoEventWireup="true" CodeBehind="POptionListSearch.aspx.cs" Inherits="TimKen.Web.POptionListSearch" %>
<%@ Register Src="UserControls/ProductResources.ascx" TagName="ProductResources"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Common/Style/common.css" rel="stylesheet" type="text/css" />
    <link href="Common/Style/PagerStyle.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $(".nav_li").hover(function () {//鼠标放上去时候的效果
                $(this).children("a").addClass("navon"); //鼠标放上去的加上高亮
                $(this).children("div").show(); //鼠标放上去的二级栏目出来
                $(this).siblings().children("a").removeClass("navon"); //其他的高亮取消
                $(".common_search_tk").css("position", "static");
                $(".common_search_tkicon").hide();
            }, function () {//鼠标移开时候的效果
                $(this).children("a").removeClass("navon"); //鼠标移开去掉高亮
                $(this).children("div").hide(); //鼠标移开隐藏二级栏目
                $(".common_search_tk").css("position", "relative");
                $(".common_search_tkicon").show();
                $(".nav_li:eq(2)").children("a").addClass("navon"); //回到当前栏目高亮
            });
        });
        $(document).ready(function () {
            $(".nav_li:eq(2)").children("a").addClass("navon").parent().siblings().children("a").removeClass();
            $(".left_nav ul li:eq(0)").children("a").addClass("left_navon"); //左侧导航，当前栏目高亮	
        });
        window.onload = function () { for (var ii = 0; ii < document.links.length; ii++) document.links[ii].onfocus = function () { this.blur() } }

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" runat="server">
    <uc1:ProductResources ID="ProductResources1" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body" runat="server">
<form runat="server">
<script src="../js/POptionListSearch.js" type="text/javascript"></script>
  <div class="rtitle">
    <%=GetLangString("ParameterSearch") %> <input type="hidden" id="OptionID" name="OptionID" />
    <input type="hidden" id="OptionValue" name="OptionValue" />
    </div>
    <div class="cate"><asp:Label ID="lbParentList" runat="server"></asp:Label></div>
    <asp:DataList ID="dlOptionList" runat="server" RepeatColumns="1" EnableViewState="false"   RepeatDirection="Horizontal" CssClass="optiontable"  Width="100%" style="padding:0 0 0 0">
        <ItemTemplate>
        <div class="poption">
        <div class="ptitle"><asp:Label  ID="lbl" runat="server"  Text='<%#Eval("OptionName")%>'></asp:Label></div>
       
       <div>
         <%#GetString(Eval("OptionValueStr").ToString(), Eval("OptionID").ToString())%> 
        </div>
       </div>
        </ItemTemplate>
    </asp:DataList>
    <asp:Literal runat="server" ID="ltEmptyData" Visible="false"></asp:Literal>
    </form>
</asp:Content>
